package com.veiga.sistema.primefaces;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
 
@ManagedBean(name="galleriaBean")  

public class GalleriaBean {  
  
    private List<String> images;  
  

 
  
    @PostConstruct  
    public void init() {  
        images = new ArrayList<String>();  
  
        for(int i=1;i<=13;i++) {  
            images.add("anuncio" + i + ".jpg");  
        }  
  
       
    }  
  
     
  
     
    public List<String> getImages() {  
        return images;  
    }  
  
   
}  